package com.xzit.domain;

/**
 * @author haoranlu
 * @project IntelliJ IDEA
 */
public class Car {
    private String proName;
    private double price;
    private String color;

    public Car() {
    }

    public Car(String proName, double price, String color) {
        this.proName = proName;
        this.price = price;
        this.color = color;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Car{" +
                "proName='" + proName + '\'' +
                ", price=" + price +
                ", color='" + color + '\'' +
                '}';
    }
}
